import { IConditionParamsModel } from "../models/CommonModels";

export interface IQinNiuOssModel {
    bucketName?: string,
}

export interface IOssConditionModel extends IQinNiuOssModel, IConditionParamsModel {
    key?: string,
    max?: string,
    min?: string,
    mimeType?: string,
    startTme?: string,
    endTime?: string,
    hash?: string,
}

export interface OSS_LIST_MODEL {
    code: number;
    message: string;
    data: Data;
}

interface Data {
    list: List[];
    pagination: Pagination;
}

interface Pagination {
    pageNumber: string;
    pageSize: string;
    total: string;
}

interface List {
    id: number;
    key: string;
    hash: string;
    fsize: number;
    mimeType: string;
    putTime: string;
    bucketName: string;
}